<div style="min-height: 300px; padding-bottom: 20px; width: 98%; float: left" class="portlet x12">
	<div class="portlet-header">
		<h4>Sửa thông tin liên hệ
		</h4>

	</div>	<!-- .portlet-header -->

		<?php foreach($dulieu as $row) {

			$id = $row['id'];
			$ten = $row['ten'];
		    $so_dien_thoai = $row['so_dien_thoai'];
		    $yahoo = $row['yahoo'];
		    $skype = $row['skype'];
		?>

		<div style='margin-left:20px; margin-top:10px'>
	    <?php echo form_open('admin/lienhe/do_sua');?>
		        <input type="hidden" name="id_de_sua" value="<?php echo $id; ?>"/>

                    <label for="fname"><b>Tên lên hệ : </b></label>
					<div style='position:relative;left:120px;bottom:20px;'><input type="text" name="ten" value="<?php echo $ten; ?>" size="35"/></div>

					<label for="fname"><b>Số điện thoại : </b></label>
					<div style='position:relative;left:120px;bottom:20px;'><input type="text" name="so_dien_thoai" value="<?php echo $so_dien_thoai; ?>" size="35" /></div>

					<label for="fname"><b>ID yahoo : </b></label>
					<div style='position:relative;left:120px;bottom:20px;'><input type="text" name="yahoo" value="<?php echo $yahoo; ?>" size="35" /></div>

					<label for="fname"><b>ID skype : </b></label>
					<div style='position:relative;left:120px;bottom:20px;'><input type="text" name="skype" value="<?php echo $skype; ?>" size="35"/></div>

				  <div class="buttonrow" style='position:relative;top:20px;left:150px;'>
							 <button class="btn btn-orange">Sửa</button>
							 <input type="button" class="btn btn-grey" id="Cancel" value="Cancel" onclick="javascript : window.history.back();">
				  </div><!-- end .buttonrow -->
		</form>
		</div>
		<?php } ?>

</div>	<!-- .portlet x12 -->